/*--------------------------------------------------------------------------------------*\
**
** adv_magi_eye.cpp
**
** Heroes IV
** Copyright 2000, The 3DO Company
**
\*--------------------------------------------------------------------------------------*/

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#include "precompiled.h"
#pragma warning( disable: 4786 )

#include "adv_magi_eye.h"

#include "adv_object_type.h"
#include "adventure_frame.h"
#include "adventure_map.h"
#include "adv_object_type.h"
#include "adv_actor_model.h"
#include "army.h"
#include "object_registration.h"

// --------------------------------------------------------------------------
// Unnamed namespace
// --------------------------------------------------------------------------

namespace
{

	t_object_registration< t_adv_magi_eye > g_adv_magi_eye_registration( k_adv_object_eye_of_the_magi );

} // Unnamed namespace


void t_adv_magi_eye::place( t_adventure_map& map, t_adv_map_point const& point )
{
	t_stationary_adventure_object::place( map, point );
    
    // Add eye.
    map.add_magi_eye ( *this );
}

